<?php

namespace drivers;

class TException extends \Exception
{
    public function __construct($message = "", $code = 0, \Exception $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }

    function getErr(){
        echo $this->getMessage()."<br/>";
        factory::errLogs('TException')->addError($this->getMessage());
    }

}